<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!--<div class="form-group">-->
        <!--<label class="control-label col-xs-12 col-sm-2">{:__('Wuye_id')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-wuye_id" data-rule="required" data-source="wuye/index" class="form-control selectpage" name="row[wuye_id]" type="text" value="">-->
        <!--</div>-->
    <!--</div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wuye_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wuye_name" data-rule="required" class="form-control" name="row[wuye_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hotline')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hotline" data-rule="required" class="form-control" name="row[hotline]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wuye_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wuye_address" data-rule="required" class="form-control" name="row[wuye_address]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Community_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-community_name" data-rule="required" class="form-control" name="row[community_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Community_city')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class='control-relative'><input id="c-community_city" data-rule="required" class="form-control" data-toggle="city-picker" name="row[community_city]" type="text"></div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Community_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-community_address" data-rule="required" class="form-control" name="row[community_address]" type="text">

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Community_locations')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-community_locations1"    data-rule="required" class="form-control" name="row[community_locations]" type="text">
            <input id="c-community_locations2"   data-rule="required" class="form-control" name="row[community_locations]" type="text">
            <input id="c-community_locations"   data-rule="required" class="form-control" name="row[community_locations]" type="text">
            <div data-toggle="addresspicker" data-input-id='c-community_locations' data-lat-id='c-community_locations1' data-lng-id='c-community_locations2'><i class="fa fa-map-marker"></i>&nbsp&nbsp点击选择</div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Associated_pois')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-associated_pois" class="form-control" name="row[associated_pois]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Out_community_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-out_community_id" data-source="out/community/index" class="form-control selectpage" name="row[out_community_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Property_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_price" data-rule="required" class="form-control" step="0.01" name="row[property_price]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Water_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-water_price" data-rule="required" class="form-control" step="0.01" name="row[water_price]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Electric_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-electric_price" data-rule="required" class="form-control" step="0.01" name="row[electric_price]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gas_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gas_price" data-rule="required" class="form-control" step="0.01" name="row[gas_price]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Park_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-park_price" data-rule="required" class="form-control" step="0.01" name="row[park_price]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
